package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@ToString
public class RefundManagementItem {
    private Long id;

    private OfficialStudent stuName;      //学员姓名

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;            //退款时间

    private BigDecimal refundAmount;          //退款金额

    private Clazz clazzId;              //班级

    private Employee expenditureUser;    //退款人

    private Employee entryUser;          //录入人

    private DictionaryItem paymentType;            //支付方式

    private DictionaryItem expenditureType;        //花费类型

    private String documentNo;              //单据号

    private String refundReason;            //退款原因

    private Integer auditState;             //审核状态


}